#!/bin/bash
pods=$(kubectl --namespace=fengchao get po | grep iiw | grep $1 | awk '{print $1}')

for pd in $pods; do
  kubectl --namespace=fengchao delete po $pd
done

echo $(kubectl --namespace=fengchao get po | grep $1)
